package com.zzptc.syl.traffic;

import java.util.List;

public class Lamp {

    /**
     * ERRMSG : 成功
     * data : [{"green":1,"road":1,"red":1,"yellow":1},{"green":55,"red":40,"road":2,"yellow":5},{"green":25,"red":5,"road":3,"yellow":20},{"green":25,"red":30,"road":4,"yellow":20},{"green":10,"red":50,"road":5,"yellow":5}]
     * RESULT : S
     */

    private String ERRMSG;
    private String RESULT;
    private List<DataBean> data;

    public String getERRMSG() {
        return ERRMSG;
    }

    public void setERRMSG(String ERRMSG) {
        this.ERRMSG = ERRMSG;
    }

    public String getRESULT() {
        return RESULT;
    }

    public void setRESULT(String RESULT) {
        this.RESULT = RESULT;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * green : 1
         * road : 1
         * red : 1
         * yellow : 1
         */

        private int green;
        private int road;
        private int red;
        private int yellow;

        public int getGreen() {
            return green;
        }

        public void setGreen(int green) {
            this.green = green;
        }

        public int getRoad() {
            return road;
        }

        public void setRoad(int road) {
            this.road = road;
        }

        public int getRed() {
            return red;
        }

        public void setRed(int red) {
            this.red = red;
        }

        public int getYellow() {
            return yellow;
        }

        public void setYellow(int yellow) {
            this.yellow = yellow;
        }
    }
}
